package com.chijun.mform.process;

import com.chijun.mform.full.mode.ModeFormFullApprovePerson;

/**
 * 加载表单数据的相关回调接口
 */
public interface IHandlerLoadFormFull {

    /**
     * 上传评论，上传完毕回调IWaitUploadCompleteListener通知调用类
     * @param approvePerson 评论
     * @param waitUploadCompleteListener 回调给调用类
     */
    void uploadPingLun(ModeFormFullApprovePerson approvePerson, IWaitUploadCompleteListener waitUploadCompleteListener);

    /**
     * 转交
     * @param approvePerson 转交人
     * @param formFullApprovePersonId 审批人员
     * @param waitUploadCompleteListener 转交完毕回调
     */
    void uploadZhuanJiao(ModeFormFullApprovePerson approvePerson, String formFullApprovePersonId, IWaitUploadCompleteListener waitUploadCompleteListener);

    /**
     * 审批
     * @param approvePerson 审批人
     * @param waitUploadCompleteListener 审批结果上传后回调
     */
    void uploadShenPi(ModeFormFullApprovePerson approvePerson, IWaitUploadCompleteListener waitUploadCompleteListener);

    /**
     * 加载表单的数据
     * @param formFullId 表单id
     * @param waitUploadCompleteListener 返回信息回调
     */
    void loadFullData(String formFullId,IWaitLoadCompleteResultDataListener waitUploadCompleteListener);



}
